package com.se.domain.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.se.domain.mysql.ApplyDO;
import lombok.Data;

import java.util.LinkedList;
import java.util.List;

@Data
public class ApplyVO {
    Long applyId;
    List<RecordVO> records = new LinkedList<>();
    Boolean sign;
    UserVO user;
    List<QVO> qn = new LinkedList<>();

    public ApplyVO(Long applyId) {
        this.applyId = applyId;
    }

    public ApplyVO(ApplyDO applyDO) {
        this.applyId = applyDO.getApplyId();
        this.sign = applyDO.getSign();
    }
}
